offsetTopAndBottom

open fun offsetTopAndBottom(@NonNull view: View, offset: Int)(source)

Offset this view's vertical location by the specified number of pixels.

Parameters

view

view that needs to be offset.

offset

the number of pixels to offset the view by